package com.hnevc.sendtask;

public abstract class Transportation {
	private String number; //编号
	private String model;//型号
	private String admin;//运货负责人
	public Transportation(){
		
	}
	//定义构造方法
	public Transportation(String number,String model,String admin){
		this.number = number;
		this.model = model;
		this.admin = admin;
	}
	//定义抽象方法
	abstract public void transport();
	//实现对属性的封装
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getAdmin() {
		return admin;
	}
	public void setAdmin(String admin) {
		this.admin = admin;
	}
	
}
